package tv.scolopender.asynctask;

import tv.scolopender.json.UserJSON;
import tv.scolopender.model.User;
import android.os.AsyncTask;

public class RegisterUserAsyncTask extends AsyncTask<Void, Void, Void> {
	private final User user;

	public RegisterUserAsyncTask(User user) {
		super();
		this.user = user;
	}

	@Override
	protected Void doInBackground(Void... params) {
		UserJSON.insert(user);
		return null;
	}
}
